/*     */ package eos.moe.dragoncore;
/*     */ 
/*     */ import com.google.common.collect.Lists;
/*     */ import com.google.gson.Gson;
/*     */ import com.google.gson.JsonArray;
/*     */ import com.google.gson.JsonElement;
/*     */ import com.google.gson.JsonObject;
/*     */ import com.google.gson.JsonPrimitive;
/*     */ import eos.moe.dragoncore.event.EventLoader;
/*     */ import java.io.File;
/*     */ import java.nio.charset.StandardCharsets;
/*     */ import java.util.ArrayList;
/*     */ import java.util.Collection;
/*     */ import java.util.Comparator;
/*     */ import java.util.HashMap;
/*     */ import java.util.HashSet;
/*     */ import java.util.List;
/*     */ import java.util.Locale;
/*     */ import java.util.Map;
/*     */ import java.util.Set;
/*     */ import java.util.UUID;
/*     */ import java.util.concurrent.ConcurrentHashMap;
/*     */ import java.util.concurrent.CopyOnWriteArrayList;
/*     */ import java.util.concurrent.ThreadLocalRandom;
/*     */ import net.minecraft.client.Minecraft;
/*     */ import net.minecraft.client.gui.GuiChat;
/*     */ import net.minecraft.client.gui.GuiScreen;
/*     */ import net.minecraft.client.gui.GuiTextField;
/*     */ import net.minecraft.entity.EntityLivingBase;
/*     */ import net.minecraft.item.ItemStack;
/*     */ import net.minecraft.util.SoundCategory;
/*     */ import net.minecraft.util.math.MathHelper;
/*     */ import net.minecraft.world.World;
/*     */ import net.minecraftforge.common.MinecraftForge;
/*     */ import net.minecraftforge.fml.common.eventhandler.Event;
/*     */ import net.minecraftforge.fml.relauncher.ReflectionHelper;
/*     */ import org.apache.commons.io.FileUtils;
/*     */ import org.apache.commons.io.filefilter.TrueFileFilter;
/*     */ import org.lwjgl.opengl.Display;
/*     */ import org.yaml.snakeyamla.configuration.ConfigurationSection;
/*     */ import org.yaml.snakeyamla.configuration.file.YamlConfiguration;
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ public class es
/*     */ {
/*     */   @r(v = 0)
/*     */   public static void v(UUID a, String str, int i) {
/*  63 */     zz zz = (zz)kq.q.g.getIfPresent(a);
/*  64 */     if (zz != null) {
/*  65 */       kq.q.stopAnimation(zz, str, i);
/*     */     }
/*     */   }
/*     */ 
/*     */   
/*     */   @r(v = 1)
/*     */   public static void c(la a) {
/*  72 */     UUID uUID = a.func_179253_g();
/*  73 */     String str = a.readString();
/*  74 */     int i = a.readInt();
/*  75 */     float f = 1.0F;
/*     */     try {
/*  77 */       f = a.readFloat();
/*  78 */     } catch (Exception exception) {}
/*     */ 
/*     */     
/*  81 */     zz zz = (zz)kq.q.g.getIfPresent(uUID);
/*  82 */     if (zz != null) {
/*  83 */       kq.q.startAnimation(zz, str, i, f);
/*     */     }
/*     */   }
/*     */ 
/*     */   
/*     */   @r(v = 2)
/*     */   public static void v(String a, String str1) throws Exception {
/*  90 */     v(a, str1);
/*     */   }
/*     */   
/*     */   @r(v = 3)
/*     */   public static void k(String a) throws Exception {
/*  95 */     vda.w = a;
/*  96 */     gp.q.clear();
/*     */   }
/*     */   
/*     */   @r(v = 4)
/*     */   public static void d(String a) throws Exception {
/* 101 */     if ((Minecraft.func_71410_x()).field_71462_r instanceof GuiChat) {
/* 102 */       GuiChat guiChat = (GuiChat)(Minecraft.func_71410_x()).field_71462_r;
/* 103 */       GuiTextField guiTextField = (GuiTextField)ReflectionHelper.getPrivateValue(GuiChat.class, guiChat, new String[] { "inputField", "field_146415_a" });
/*     */       
/* 105 */       if (a.startsWith("[add]")) {
/* 106 */         guiTextField.func_146180_a(guiTextField.func_146179_b() + a.substring(5));
/* 107 */       } else if (a.startsWith("[write]")) {
/* 108 */         guiTextField.func_146191_b(a.substring(7));
/*     */       } else {
/* 110 */         guiTextField.func_146180_a(a);
/*     */       } 
/*     */     } 
/*     */   }
/*     */   
/*     */   @r(v = 5)
/*     */   public static void s(UUID a, String str) throws Exception {
/* 117 */     xea.m.t().put(a, str);
/*     */   }
/*     */   
/*     */   @r(v = 6)
/*     */   public static void h(UUID a) throws Exception {
/* 122 */     xea.m.t().remove(a);
/*     */   }
/*     */   
/*     */   @r(v = 7)
/*     */   public static void s(la a) throws Exception {
/* 127 */     int i = a.readInt();
/* 128 */     for (int j = 0; j < i; j++) {
/* 129 */       tja.v(a
/* 130 */           .func_150789_c(32768), a
/* 131 */           .func_150789_c(32768));
/*     */     }
/*     */   }
/*     */ 
/*     */ 
/*     */   
/*     */   @r(v = 11)
/*     */   public static void s() throws Exception {
/* 139 */     xea.m.v().clear();
/*     */     
/* 141 */     xea.m.z().clear();
/* 142 */     xea.m.h().clear();
/*     */     
/* 144 */     mca.q.v().clear();
/*     */ 
/*     */     
/* 147 */     bda.q.v().clear();
/*     */     
/* 149 */     kba.q.v().clear();
/*     */     
/* 151 */     mfa.g.clear();
/*     */     
/* 153 */     ela.s.v().clear();
/* 154 */     ela.s.z().clear();
/* 155 */     uaa.q.g.clear();
/* 156 */     dha.t.z().clear();
/* 157 */     dha.t.v().clear();
/* 158 */     dha.t.v().clear();
/* 159 */     dha.t.v();
/*     */     
/* 161 */     pz.i.clear();
/* 162 */     pl.z();
/* 163 */     dh.d.h();
/* 164 */     oo.z();
/* 165 */     tr.v();
/* 166 */     uy.v("DragonCore", new String[] { "cache_clear" });
/*     */   }
/*     */ 
/*     */   
/*     */   @r(v = 12)
/*     */   public static void h(String a, la la1) {
/* 172 */     bda.eos/moe/dragoncore/tca eos/moe/dragoncore/tca = new bda.eos/moe/dragoncore/tca(la1);
/* 173 */     bda.q.v().put(a, eos/moe/dragoncore/tca);
/*     */   }
/*     */ 
/*     */   
/*     */   @r(v = 13)
/*     */   public static void c(String a) {
/* 179 */     bda.q.v().remove(a);
/*     */   }
/*     */   
/*     */   @r(v = 14)
/*     */   public static void y(la a) {
/* 184 */     Set<String> set = new HashSet();
/* 185 */     int i = a.readInt();
/* 186 */     for (int j = 0; j < i; j++) {
/* 187 */       set.add(a.func_150789_c(32768));
/*     */     }
/* 189 */     aka.q.g = set;
/*     */   }
/*     */   
/*     */   @r(v = 15)
/*     */   public static void z(String a, la la1) {
/* 194 */     bda.eos/moe/dragoncore/tca eos/moe/dragoncore/tca = new bda.eos/moe/dragoncore/tca(la1, true);
/* 195 */     bda.q.v().put(a, eos/moe/dragoncore/tca);
/*     */   }
/*     */   
/*     */   @r(v = 16)
/*     */   public static void v(String a, ItemStack itemStack) {
/* 200 */     dh.d.v(a, itemStack);
/*     */   }
/*     */   
/*     */   @r(v = 18)
/*     */   public static void s(String a) {
/* 205 */     fw.g = a.getBytes();
/* 206 */     vda.q = true;
/*     */     
/* 208 */     v(oa::z);
/*     */   }
/*     */   
/*     */   @r(v = 19)
/*     */   public static void t(la a) {
/* 213 */     String str1 = a.readString();
/* 214 */     String str2 = a.readString();
/* 215 */     float f1 = a.readFloat();
/* 216 */     float f2 = a.readFloat();
/* 217 */     boolean bool = a.readBoolean();
/* 218 */     float f3 = a.readFloat();
/* 219 */     float f4 = a.readFloat();
/* 220 */     float f5 = a.readFloat();
/* 221 */     SoundCategory soundCategory = SoundCategory.MASTER;
/*     */     try {
/* 223 */       soundCategory = SoundCategory.func_187950_a(a.readString());
/* 224 */     } catch (Exception exception) {}
/*     */ 
/*     */ 
/*     */ 
/*     */     
/* 229 */     str1 = str1.isEmpty() ? MathHelper.func_180182_a(ThreadLocalRandom.current()).toString() : str1;
/*     */ 
/*     */     
/* 232 */     de.v((vh)null, str1, str2, soundCategory, f1, f2, f3, f4, f5, bool);
/*     */   }
/*     */   
/*     */   @r(v = 20)
/*     */   public static void y(String a) {
/* 237 */     de.t(a);
/*     */   }
/*     */   
/*     */   @r(v = 21)
/*     */   public static void v(long a, long l1, String str1, String str2, String str3, la la1) {
/* 242 */     Map<Object, Object> map = new HashMap<>();
/* 243 */     int i = la1.readInt();
/* 244 */     for (int j = 0; j < i; j++) {
/* 245 */       map.put(la1.readString(), la1.readString());
/*     */     }
/* 247 */     aja.g.put(new aja.eos/moe/dragoncore/lia(str1, str2, str3, (Map)map), new fj<>(Long.valueOf(a), Long.valueOf(l1)));
/*     */   }
/*     */   
/*     */   @r(v = 22)
/*     */   public static void z(String a, boolean bool) {
/* 252 */     dh.d.v(a, bool);
/*     */   }
/*     */   
/*     */   @r(v = 23)
/*     */   public static void v(String a, boolean bool) {
/* 257 */     tja.v(a, bool);
/*     */   }
/*     */   
/*     */   @r(v = 24)
/*     */   public static void v(int a) {
/* 262 */     (Minecraft.func_71410_x()).field_71474_y.field_74320_O = a;
/*     */   }
/*     */   
/*     */   @r(v = 25)
/*     */   public static void t(String a) {
/* 267 */     Display.setTitle(a);
/*     */   }
/*     */   
/*     */   @r(v = 26)
/*     */   public static void h(la a) {
/* 272 */     UUID uUID = null;
/* 273 */     boolean bool = a.readBoolean();
/* 274 */     if (bool)
/* 275 */       uUID = a.func_179253_g(); 
/* 276 */     int i = a.readInt();
/* 277 */     int j = a.readInt();
/* 278 */     float f1 = a.readFloat();
/* 279 */     float f2 = a.readFloat();
/* 280 */     float f3 = a.readFloat();
/* 281 */     float f4 = a.readFloat();
/* 282 */     float f5 = a.readFloat();
/* 283 */     float f6 = a.readFloat();
/* 284 */     float f7 = a.readFloat();
/*     */     
/* 286 */     EntityLivingBase entityLivingBase = ya.v(uUID);
/* 287 */     if (entityLivingBase != null) {
/* 288 */       f2 += entityLivingBase.field_70131_O;
/*     */     }
/* 290 */     (Minecraft.func_71410_x()).field_71452_i.func_78873_a(new cca(i, j, 
/* 291 */           (World)(Minecraft.func_71410_x()).field_71441_e, f1, f2, f3, f4, f5, f6, f7));
/*     */   }
/*     */ 
/*     */   
/*     */   @r(v = 27)
/*     */   public static void z(la a) {
/* 297 */     UUID uUID = a.func_179253_g();
/* 298 */     String str = a.readString();
/* 299 */     float f = 1.0F;
/*     */     try {
/* 301 */       f = a.readFloat();
/* 302 */     } catch (Exception exception) {}
/*     */ 
/*     */     
/* 305 */     xea.m.v(uUID, str, f);
/*     */   }
/*     */   
/*     */   @r(v = 28)
/*     */   public static void y(UUID a, String str) {
/* 310 */     xea.m.v(a, str);
/*     */   }
/*     */   
/*     */   @r(v = 30)
/*     */   public static void v(String a, la la1) {
/* 315 */     a = a.replace("\\", "/");
/* 316 */     byte[] arrayOfByte = new byte[la1.readableBytes()];
/* 317 */     int i = la1.readerIndex();
/* 318 */     la1.getBytes(i, arrayOfByte);
/*     */     
/* 320 */     MinecraftForge.EVENT_BUS.post((Event)new EventLoader.ServerFileEvent(a, arrayOfByte));
/*     */   }
/*     */   
/*     */   @r(v = 31)
/*     */   public static void t(UUID a, String str) {
/* 325 */     wo wo = (wo)pz.i.g.getIfPresent(a);
/* 326 */     if (wo != null) {
/* 327 */       wo.v(str).z();
/*     */     }
/*     */   }
/*     */   
/*     */   @r(v = 32)
/*     */   public static void v(int a, int i, int j, String str) {
/* 333 */     gp.v(a, i, j, str);
/*     */   }
/*     */   
/*     */   @r(v = 33)
/*     */   public static void h(UUID a, String str) {
/* 338 */     zz zz = (zz)kq.q.g.getIfPresent(a);
/* 339 */     if (zz != null) {
/* 340 */       zz.z(str);
/*     */     }
/*     */   }
/*     */   
/*     */   @r(v = 34)
/*     */   public static void z(UUID a, String str) {
/* 346 */     pz.i.q.put(a, str);
/*     */   }
/*     */   
/*     */   @r(v = 35)
/*     */   public static void z(UUID a) {
/* 351 */     pz.i.q.remove(a);
/*     */   }
/*     */   
/* 354 */   private static Gson g = new Gson();
/*     */ 
/*     */ 
/*     */   
/*     */   @r(v = 40)
/*     */   public static void y() {
/* 360 */     Collection a = FileUtils.listFiles(nm.t, TrueFileFilter.TRUE, TrueFileFilter.TRUE);
/* 361 */     for (File file : a) {
/*     */       try {
/* 363 */         if (file.isDirectory())
/*     */           continue; 
/* 365 */         if (file.getName().equals("config.yml") || file.getName().endsWith(".zip") || file.getName().endsWith(".data"))
/*     */           continue; 
/* 367 */         byte[] arrayOfByte = FileUtils.readFileToByteArray(file);
/* 368 */         boolean bool = false;
/* 369 */         if (file.getName().endsWith(".json")) {
/* 370 */           String str = new String(arrayOfByte, StandardCharsets.UTF_8);
/* 371 */           if (str.contains("\"description\"") && str.contains("\"bones\"")) {
/*     */             
/* 373 */             String str1 = v(str);
/* 374 */             byte[] arrayOfByte1 = str1.getBytes(StandardCharsets.UTF_8);
/* 375 */             arrayOfByte1 = ww.v(arrayOfByte1);
/* 376 */             FileUtils.writeByteArrayToFile(new File(file.getParentFile(), file.getName() + ".data"), arrayOfByte1);
/* 377 */             file.delete();
/* 378 */             bool = true;
/*     */           } 
/*     */         } 
/* 381 */         if (!bool) {
/* 382 */           arrayOfByte = ww.v(arrayOfByte);
/* 383 */           FileUtils.writeByteArrayToFile(new File(file.getParentFile(), file.getName() + ".data"), arrayOfByte);
/* 384 */           file.delete();
/*     */         }
/*     */       
/* 387 */       } catch (Exception exception) {
/* 388 */         exception.printStackTrace();
/*     */       } 
/*     */     } 
/* 391 */     nm.m.c("文件已加密完成,如修改config.yml密码需重新加密");
/*     */   }
/*     */   
/*     */   public static String v(String a) throws cl {
/* 395 */     JsonObject jsonObject = (JsonObject)g.fromJson(a, JsonObject.class);
/* 396 */     String str = null;
/* 397 */     for (Map.Entry entry : jsonObject.entrySet()) {
/* 398 */       if (((String)entry.getKey()).equals("format_version")) {
/* 399 */         str = ((JsonElement)entry.getValue()).getAsString(); continue;
/*     */       } 
/* 401 */       if (str == null || "1.8.0".equals(str) || "1.10.0".equals(str)) {
/* 402 */         JsonArray jsonArray = new JsonArray();
/* 403 */         jsonArray.add((JsonElement)entry.getValue());
/* 404 */         v(jsonArray); continue;
/*     */       } 
/* 406 */       v(((JsonElement)entry.getValue()).getAsJsonArray());
/*     */     } 
/*     */ 
/*     */     
/* 410 */     return g.toJson((JsonElement)jsonObject);
/*     */   }
/*     */   
/*     */   @r(v = 95)
/*     */   public static void t() {
/* 415 */     au.z.s();
/*     */   }
/*     */   
/*     */   @r(v = 96)
/*     */   public static void h(String a) {
/* 420 */     au.z.h(a);
/*     */   }
/*     */   
/*     */   @r(v = 97)
/*     */   public static void v(String a, String str1, la la1) {
/* 425 */     int i = la1.readInt();
/* 426 */     byte[] arrayOfByte = new byte[i];
/* 427 */     la1.readBytes(arrayOfByte);
/* 428 */     au.z.z(a, str1, arrayOfByte);
/*     */   }
/*     */   
/*     */   @r(v = 98)
/*     */   public static void h() {
/* 433 */     au.z.t();
/*     */   }
/*     */   
/*     */   @r(v = 99)
/*     */   public static void z() {
/* 438 */     pl.h();
/* 439 */     uy.v("DragonCore", new String[] { "cache_loaded" });
/*     */   }
/*     */   
/*     */   @r(v = 100)
/*     */   public static void v(String a, String str1, boolean bool) {
/* 444 */     a = a.toLowerCase(Locale.ROOT);
/*     */ 
/*     */     
/* 447 */     if (str1.equals("opengui")) {
/* 448 */       if (dh.d.h().containsKey(a)) {
/* 449 */         pl.z(a, dh.d.h().get(a));
/*     */       }
/* 451 */     } else if (str1.equals("openhud")) {
/* 452 */       if (dh.d.h().containsKey(a)) {
/* 453 */         pl.v(a, dh.d.h().get(a));
/*     */       }
/*     */     } else {
/* 456 */       GuiScreen guiScreen = (Minecraft.func_71410_x()).field_71462_r;
/* 457 */       vh vh = null;
/*     */       
/* 459 */       if (a.equals("default")) {
/* 460 */         vh = vh.pa;
/* 461 */       } else if (a.equals("itemtip")) {
/* 462 */         vh = dha.t.q;
/* 463 */       } else if (guiScreen instanceof vh && (a
/* 464 */         .isEmpty() || ((vh)guiScreen).v.toLowerCase().equals(a))) {
/* 465 */         vh = (vh)guiScreen;
/* 466 */       } else if (pl.i.containsKey(a)) {
/* 467 */         vh = pl.i.get(a);
/*     */       } 
/* 469 */       if (vh == null) {
/*     */         return;
/*     */       }
/* 472 */       if (bool) {
/* 473 */         vh vh1 = vh;
/* 474 */         zg.g.submit(() -> a.parseExpression(str).v());
/*     */       } else {
/* 476 */         vh.parseExpression(str1).v();
/*     */       } 
/*     */     } 
/*     */   }
/*     */   
/*     */   @r(v = 101)
/*     */   public static void z(String a) {
/* 483 */     YamlConfiguration yamlConfiguration = new YamlConfiguration();
/* 484 */     yamlConfiguration.loadFromStringIgnoreException(a);
/*     */     
/* 486 */     GuiScreen guiScreen = (Minecraft.func_71410_x()).field_71462_r;
/* 487 */     if (guiScreen instanceof vh) {
/* 488 */       ((vh)guiScreen).reloadFromYaml(yamlConfiguration);
/*     */     }
/*     */   }
/*     */   
/*     */   @r(v = 102)
/*     */   public static void v(UUID a, String str) {
/* 494 */     tr.v(a, str);
/*     */   }
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */   
/*     */   @r(v = 201)
/*     */   public static void v(la a) {
/* 503 */     String str1 = a.readString();
/* 504 */     String str2 = a.readString();
/* 505 */     String str3 = a.readString();
/* 506 */     String str4 = a.readString();
/* 507 */     int i = a.readInt();
/* 508 */     String str5 = "";
/*     */     try {
/* 510 */       str5 = a.readString();
/* 511 */     } catch (Exception exception) {}
/*     */ 
/*     */     
/* 514 */     uz.g.z(str1, str2, str3, str4, str5, i);
/*     */   }
/*     */   
/*     */   @r(v = 202)
/*     */   public static void v(String a) {
/* 519 */     uz.g.z(a);
/*     */   }
/*     */   
/*     */   @r(v = 203)
/*     */   public static void v(UUID a) {
/* 524 */     uz.g.z(a);
/*     */   }
/*     */   
/*     */   @r(v = 204)
/*     */   public static void v() {
/* 529 */     uz.g.v();
/*     */   }
/*     */ 
/*     */   
/*     */   public static YamlConfiguration v(String a, String str1) throws Exception {
/* 534 */     a = a.replace("\\", "/");
/* 535 */     String str = a;
/* 536 */     a = a.toLowerCase(Locale.ROOT);
/*     */     
/* 538 */     YamlConfiguration yamlConfiguration = new YamlConfiguration();
/* 539 */     yamlConfiguration.setFileName(str);
/* 540 */     Set set = yamlConfiguration.getKeys(true);
/* 541 */     for (String str2 : set) {
/* 542 */       if (yamlConfiguration.isConfigurationSection(str2)) {
/* 543 */         yamlConfiguration.getConfigurationSection(str2).setFileName(str);
/*     */       }
/*     */     } 
/*     */     try {
/* 547 */       yamlConfiguration.loadFromString(str1);
/* 548 */     } catch (Exception exception) {
/* 549 */       exception.printStackTrace();
/*     */     } 
/* 551 */     if (a.startsWith("EntityModel".toLowerCase())) {
/* 552 */       for (ConfigurationSection configurationSection : yamlConfiguration.getSections()) {
/* 553 */         ConcurrentHashMap<String, xea.eos/moe/dragoncore/ija> concurrentHashMap = xea.m.h();
/* 554 */         xea.eos/moe/dragoncore/ija eos/moe/dragoncore/ija = new xea.eos/moe/dragoncore/ija(configurationSection);
/* 555 */         concurrentHashMap.put(eos/moe/dragoncore/ija.z(), eos/moe/dragoncore/ija);
/*     */       } 
/* 557 */     } else if (a.startsWith("ItemTip".toLowerCase())) {
/* 558 */       if (yamlConfiguration.getConfigurationSection("setting") == null) {
/* 559 */         dha.t.v().add(new dha.eos/moe/dragoncore/gla(yamlConfiguration));
/* 560 */         dha.t.v().sort(Comparator.<dha.eos/moe/dragoncore/gla, Comparable>comparing(dha.eos/moe/dragoncore/gla::v).reversed());
/*     */         
/* 562 */         dha.t.v().put(a.substring(8).replace(".yml", ""), yamlConfiguration);
/*     */       } else {
/* 564 */         dha.t.z().add(new fba(yamlConfiguration));
/* 565 */         dha.t.z().sort(Comparator.<fba, Comparable>comparing(fba::v).reversed());
/*     */       }
/*     */     
/* 568 */     } else if (a.startsWith("ItemModel".toLowerCase())) {
/* 569 */       CopyOnWriteArrayList<ela.eos/moe/dragoncore/uba> copyOnWriteArrayList = ela.s.z();
/* 570 */       List<ela.eos/moe/dragoncore/uba> list = new ArrayList();
/* 571 */       for (ConfigurationSection configurationSection : yamlConfiguration.getSections()) {
/*     */         
/* 573 */         ela.eos/moe/dragoncore/uba eos/moe/dragoncore/uba = new ela.eos/moe/dragoncore/uba(a, configurationSection);
/* 574 */         list.add(eos/moe/dragoncore/uba);
/*     */       } 
/*     */       
/* 577 */       copyOnWriteArrayList.addAll(list);
/*     */       
/* 579 */       copyOnWriteArrayList.sort(Comparator.<ela.eos/moe/dragoncore/uba, Comparable>comparing(ela.eos/moe/dragoncore/uba::z).reversed());
/* 580 */       ela.s.v();
/* 581 */     } else if (a.startsWith("Blood".toLowerCase())) {
/* 582 */       for (ConfigurationSection configurationSection : yamlConfiguration.getSections()) {
/* 583 */         Map<String, kba.eos/moe/dragoncore/dfa> map = kba.q.v();
/* 584 */         String str2 = configurationSection.getName();
/* 585 */         kba.eos/moe/dragoncore/dfa eos/moe/dragoncore/dfa = new kba.eos/moe/dragoncore/dfa(configurationSection);
/* 586 */         map.put(str2, eos/moe/dragoncore/dfa);
/*     */       } 
/* 588 */     } else if (a.startsWith("FontConfig".toLowerCase())) {
/* 589 */       HashMap<Object, Object> hashMap = new HashMap<>();
/* 590 */       for (ConfigurationSection configurationSection : yamlConfiguration.getSections()) {
/* 591 */         for (char c : configurationSection.getName().toCharArray()) {
/* 592 */           mca.eos/moe/dragoncore/xfa eos/moe/dragoncore/xfa = new mca.eos/moe/dragoncore/xfa(c, configurationSection);
/* 593 */           hashMap.put(Character.valueOf(c), eos/moe/dragoncore/xfa);
/*     */         } 
/*     */       } 
/* 596 */       mca.q.v().putAll(hashMap);
/* 597 */     } else if (a.startsWith("ItemIcon".toLowerCase())) {
/* 598 */       CopyOnWriteArrayList<ela.eos/moe/dragoncore/vga> copyOnWriteArrayList = ela.s.v();
/* 599 */       List<ela.eos/moe/dragoncore/vga> list = new ArrayList();
/* 600 */       for (ConfigurationSection configurationSection : yamlConfiguration.getSections()) {
/*     */         try {
/* 602 */           ela.eos/moe/dragoncore/vga eos/moe/dragoncore/vga = new ela.eos/moe/dragoncore/vga(a, configurationSection);
/* 603 */           list.add(eos/moe/dragoncore/vga);
/* 604 */         } catch (ft ft) {
/* 605 */           ft.printStackTrace();
/*     */         } 
/*     */       } 
/* 608 */       copyOnWriteArrayList.addAll(list);
/*     */       
/* 610 */       copyOnWriteArrayList.sort(Comparator.<ela.eos/moe/dragoncore/vga, Comparable>comparing(ela.eos/moe/dragoncore/vga::z).reversed());
/* 611 */       ela.s.v();
/* 612 */     } else if (a.startsWith("WorldTexture".toLowerCase())) {
/* 613 */       for (ConfigurationSection configurationSection : yamlConfiguration.getSections()) {
/* 614 */         ConcurrentHashMap<String, bda.eos/moe/dragoncore/tca> concurrentHashMap = bda.q.v();
/* 615 */         String str2 = configurationSection.getName();
/* 616 */         bda.eos/moe/dragoncore/tca eos/moe/dragoncore/tca = new bda.eos/moe/dragoncore/tca(configurationSection);
/* 617 */         concurrentHashMap.put(str2, eos/moe/dragoncore/tca);
/*     */       } 
/* 619 */     } else if (a.startsWith("Gui/".toLowerCase())) {
/* 620 */       dh.d.h().put(a.substring(4).replace(".yml", ""), yamlConfiguration);
/* 621 */     } else if (a.startsWith("ArmorLayer".toLowerCase(Locale.ROOT))) {
/* 622 */       for (ConfigurationSection configurationSection : yamlConfiguration.getSections()) {
/* 623 */         mfa.g.put(configurationSection.getName(), new mfa.eos/moe/dragoncore/kja(configurationSection));
/*     */       }
/* 625 */     } else if (a.startsWith("ItemInfo".toLowerCase(Locale.ROOT))) {
/* 626 */       for (ConfigurationSection configurationSection : yamlConfiguration.getSections()) {
/* 627 */         pga.q.v(configurationSection);
/*     */       }
/* 629 */     } else if (a.startsWith("HeadTag/".toLowerCase())) {
/* 630 */       pz.i.w.put(a.substring(8).replace(".yml", ""), new pz.eos/moe/dragoncore/mt(yamlConfiguration));
/* 631 */     } else if (a.startsWith("itemeffect")) {
/* 632 */       List<uaa.eos/moe/dragoncore/wja> list1 = uaa.q.g;
/* 633 */       List<uaa.eos/moe/dragoncore/wja> list2 = new ArrayList();
/* 634 */       for (ConfigurationSection configurationSection : yamlConfiguration.getSections()) {
/*     */         try {
/* 636 */           uaa.eos/moe/dragoncore/wja eos/moe/dragoncore/wja = new uaa.eos/moe/dragoncore/wja(configurationSection);
/* 637 */           list2.add(eos/moe/dragoncore/wja);
/* 638 */         } catch (ft ft) {
/* 639 */           ft.printStackTrace();
/*     */         } 
/*     */       } 
/* 642 */       list1.addAll(list2);
/*     */     } 
/* 644 */     return yamlConfiguration;
/*     */   }
/*     */ }


/* Location:              D:\fanbian\[D][龙之核心]DragonCore-2.6.0.3.jar!\eos\moe\dragoncore\es.class
 * Java compiler version: 8 (52.0)
 * JD-Core Version:       1.1.3
 */